package com.bamanker.cloudconsumer.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 * @author bamanker
 */
@Configuration
public class OpenFeignConfig {
    /**
     * 日志级别定义
     * import feign.Logger;
     *
     */
    @Profile("env1")
    @Bean
    Logger.Level feginLoggerLevel(){
        return Logger.Level.FULL;
    }

}
